package com.ttsx.pojo.converter;

import com.ttsx.pojo.entity.Category;
import com.ttsx.pojo.vo.CategoryEeVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 分类转换器
 *
 * @author wb
 * @since 2025-03-03
 */

@Mapper
public interface CategoryConverter {
    CategoryConverter INSTANCE = Mappers.getMapper(CategoryConverter.class);


    CategoryEeVO toCategoryEeVO(Category category);

    List<CategoryEeVO> toCategoryEeVOList(List<Category> categoryList);
}
